<!DOCTYPE html>
<html lang="en">
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>超管编辑个人信息</title>
    <!-- <script src="../static/js/admin_change.js"></script> -->
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.js"></script>
    <link rel="stylesheet" type="text/css" th:href="@{/css/admin_change.css}"/>
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<!--顶部导航栏-->
<nav class="navbar navbar-default navbar-fixed-top" role="navigation" style="background-color: black">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" style="color: white;font-family: 'Arial Narrow'"><i class="fa fa-cloud fa-lg"></i>Libraby</a>
            <a class="navbar-brand" href="/reader_searchbook(no)" style="color: white">Home</a>
            <a class="navbar-brand" href="/admin/index" style="color: white">Admin</a>
            <a class="navbar-brand" href="/admin/brarianaccount" style="color: white">Acount information</a>
        </div>
        <ul class="nav navbar-nav navbar-right">
            <li><a href="/admin/basereturn" style="color: white"><span class="glyphicon glyphicon-cog"
                                                                       style="color: white">Set</span></a></li>
            <li><a href="/admin/logout" style="color: white"><span class="glyphicon glyphicon-log-out"
                                                                   style="color: white"></span>Log out</a></li>
        </ul>
    </div>
</nav>

<div>
    <div class="login_frame">
        <div class="icon1">
            <a class="navbar-brand" style="color: black;font-size: 30px;">
                <i class="fa fa-user-o fa-4x"></i></a>
        </div>
        <div>
            <p style="color:red; top: 25%; margin-left: 10%;width: 300px;
                        height: 100px;" th:text="${msg}"></p>
        </div>
<!--        登录form-->
        <form action="/admin/change" class="login">
            <div class="input-group margin-bottom-sm">
                <span class="input-group-addon"><i class="fa fa-user fa-fw"></i></span>
                <input class="form-control" style="width: 200px" type="text" id="n" name="name" field="username" placeholder="your name">
            </div>

            <div class="input-group margin-bottom-sm" style="margin-top: 1%">
                <span class="input-group-addon"><i class="fa fa-tty fa-fw"></i></span>
                <input class="form-control" style="width: 200px" type="tel" name="phonenumber" field="userphonenumber"
                       placeholder="your phonenumber"/>
            </div>

            <div class="input-group margin-bottom-sm" style="margin-top: 1%">
                <span class="input-group-addon"><i class="fa fa-key fa-fw"></i></span>
                <input class="form-control" style="width: 200px" type="password" name="password" field="userpassword" placeholder="your password">
            </div>

            <div style="margin-top: 2%">
                <button type="button" onclick="edit()"
                        class="btn btn-info" style="margin-left: 5%">
                    Edit
                </button>
                <button type="button" class="btn btn-success" onclick="submit()" style="margin-left: 3%">
                    Save
                </button>
            </div>
        </form>
    </div>
</div>
<!--底部-->
<div class="footer">
    <div>
        <img src="/images/mandarin.png" class="mandarin">
    </div>
    <p style=" margin-top: 2%; margin-left: 35%;position: absolute; color: white;font-size: 25px;">
        Shan ICP Number 18018134 | Powered by 1713011</p>
</div>

</body>
</html>